﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

namespace Area
{
    /// <summary>
    /// TArea 的摘要说明
    /// </summary>
    public class TArea
    {
        #region Model
        private int _id;
        private string _name;
        private int _parentid;
        private string _fullid;
        private int _grade;
        private bool _underlingflag;
        private int _sequence;
        private string _code;
        private string _cityid;
        private string _provinceid;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 地区名
        /// </summary>
        public string Name
        {
            set { _name = Base.Common.FilterHtml(value); }
            get { return _name; }
        }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 父级ID字符串
        /// </summary>
        public string FullID
        {
            set { _fullid = Base.Common.FilterHtml(value); }
            get { return _fullid; }
        }
        /// <summary>
        /// 地区目录
        /// </summary>
        public int Grade
        {
            set { _grade = value; }
            get { return _grade; }
        }
        /// <summary>
        /// 是否拥有下级
        /// </summary>
        public bool UnderlingFlag
        {
            set { _underlingflag = value; }
            get { return _underlingflag; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sequence
        {
            set { _sequence = value; }
            get { return _sequence; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string code
        {
            set { _code = Base.Common.FilterHtml(value); }
            get { return _code; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string provinceId
        {
            set { _provinceid = value; }
            get { return _provinceid; }
        }
        #endregion Model 


    }
}